import { RouteConfig } from 'vue-router'
import HomePage from '@/pages/index/home/HomePage.vue'
import QuotesPage from '@/pages/index/quotes/QuotesPage.vue'
import TransactionPage from '@/pages/index/transaction/TransactionPage.vue'
import CommunityPage from '@/pages/index/community/CommunityPage.vue'
import UserPage from '@/pages/index/user/UserPage.vue'

const IndexRoutes: RouteConfig[] = [
  {
    path: '',
    redirect: '/home'
  },
  {
    path: 'home',
    component: HomePage
  },
  {
    path: 'quotes',
    component: QuotesPage
  },
  {
    path: 'transaction',
    component: TransactionPage
  },
  {
    path: 'community',
    component: CommunityPage
  },
  {
    path: 'user',
    component: UserPage
  }
]

export default IndexRoutes
